package cz.zcu.fav.ratdroid.activity.calendar.day;

import org.joda.time.LocalDate;
import org.joda.time.LocalDateTime;

import android.net.Uri;
import android.view.View;
import android.view.ViewGroup;



/**
 * A helper class containing object references related to a particular day
 * in the schedule.
 */
public class Day
{
	private ViewGroup rootView;
	private TimeSheetScrollView scrollView;
	private View nowView;
	private BlocksLayout blocksView;

	private int index = -1;
	private String label = null;
	private Uri blocksUri = null;
	private LocalDateTime timeStart;
	private LocalDateTime timeEnd;
	private LocalDate date;
	

	public LocalDate getDate()
	{
		return date;
	}

	public void setDate(LocalDate date)
	{
		this.date = date;
	}

	public ViewGroup getRootView()
	{
		return rootView;
	}

	public void setRootView(ViewGroup rootView)
	{
		this.rootView = rootView;
	}

	public TimeSheetScrollView getScrollView()
	{
		return scrollView;
	}

	public void setScrollView(TimeSheetScrollView scrollView)
	{
		this.scrollView = scrollView;
	}

	public View getNowView()
	{
		return nowView;
	}

	public void setNowView(View nowView)
	{
		this.nowView = nowView;
	}

	public BlocksLayout getBlocksView()
	{
		return blocksView;
	}

	public void setBlocksView(BlocksLayout blocksView)
	{
		this.blocksView = blocksView;
	}

	public int getIndex()
	{
		return index;
	}

	public void setIndex(int index)
	{
		this.index = index;
	}

	public String getLabel()
	{
		return label;
	}

	public void setLabel(String label)
	{
		this.label = label;
	}

	public Uri getBlocksUri()
	{
		return blocksUri;
	}

	public void setBlocksUri(Uri blocksUri)
	{
		this.blocksUri = blocksUri;
	}

	public LocalDateTime getTimeStart()
	{
		return timeStart;
	}

	public void setTimeStart(LocalDateTime timeStart)
	{
		this.timeStart = timeStart;
	}

	public LocalDateTime getTimeEnd()
	{
		return timeEnd;
	}

	public void setTimeEnd(LocalDateTime timeEnd)
	{
		this.timeEnd = timeEnd;
	}
}
